package com.gzx.plugin.tjzy.modular.sms.batch.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import com.gzx.plugin.tjzy.modular.sms.batch.entity.GzxSmsDetail;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import vip.xiaonuo.common.sensitive.annotation.Sensitive;
import vip.xiaonuo.common.sensitive.core.SensitiveStrategy;


/**
 * 短信发送明细视图对象 gzx_sms_detail
 *
 * @author LionLi
 * @date 2024-09-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = GzxSmsDetail.class)
public class GzxSmsDetailVo implements TransPojo {

    private String id;

    /**
     * 手机号
     */
    @ExcelProperty("手机号")
    @Sensitive(strategy = SensitiveStrategy.PHONE)
    private String toPhone;

    /**
     * 手机号
     */
    private String noSensitivePhone;

    @Trans(type = TransType.DICTIONARY, key = "SMSDetailStatus", ref = "sendStatusName")
    private String sendStatus;

    @ExcelProperty("发送状态")
    private String sendStatusName;

    /**
     * 短信内容
     */
    @ExcelProperty("短信内容")
    private String messageContent;

    /**
     * 供应商顺序
     */
    private String supplierOrder;

    /**
     * 发送供应商
     */
    @Trans(type = TransType.DICTIONARY, key = "supplier", ref = "supplierName")
    private String supplierCode;

    @ExcelProperty("当前路由")
    private String supplierName;

    /**
     * 短信发送时间
     */
    @ExcelProperty("短信发送时间")
    private String sendTime;

}
